@echo off
echo -----------------
echo 适用于文件名顺序无关的情况
echo 
dir /a-d /B %1 > thiswillbedeletedinfuture.txt

 for /F "tokens=* delims= " %%a in (thiswillbedeletedinfuture.txt) do (
  echo %%a
)


